<!DOCTYPE html>
<html lang="@@{website_lang}" dir="@@{website_dirLTR}">
<head>
	<meta charset="@@{website_charset}" />
	<title>Ajax Load Posts 2 -@@{website_title}</title>	
	@@include('./src/components/_global/include-header.html')
</head>  

     
  <body class="page">
  
  
          
    @@include('./src/components/_global/include-loader.html')
    @@include('./src/components/_global/include-toggle-trigger.html')
    
    

  
  
    <div class="uix-wrapper">
    
        <!-- Header Area
        ============================================= -->      
        <header class="uix-header__container">
            
             <div class="uix-header">
                 <div class="container">
                 
                        @@include('./src/components/_global/include-brand.html')
                        
                        @@include('./src/components/_global/include-menu.html')
                        
                        
                        
                        
                  </div>
                  <!-- .container end -->
                  
                  <div class="uix-clearfix"></div>
             </div>
        
        </header>
        <div class="uix-header__placeholder js-uix-header__placeholder-autoheight"></div>
      
      
		<main id="uix-maincontent">
			
			<!-- Content 
			====================================================== -->
			<section class="uix-spacing--s uix-spacing--no-bottom">
				<div class="container">
					<div class="row">
						<div class="col-12">
							<h3>Ajax Load Posts</h3>
							<p class="uix-typo--color-highlight">Do not append to the original content</p>
							<hr>
							
							
						</div>
					</div>
					<!-- .row end -->

				</div>
				<!-- .container end -->

			</section>
			
		



		   <!-- Content 
			====================================================== -->
			<div class="uix-spacing--s">
				<div class="container">
						<div class="row">
							<div class="col-12 uix-trans uix-filter-hover--color">

								<!-- 
									Note: Recommended to enter the total number of attribute "data-ajax-list-page-total".

									* @param  {String} data-ajax-list-json                    - JSON file path to docking data.
									* @param  {String} data-ajax-list-method                  - The type of request to make, which can be either "POST" or "GET".
									* @param  {String} data-ajax-list-render                  - Rendering mode of display information. ==> before | html | append
									* @param  {String} data-ajax-list-temp-id                 - HTML template ID
									* @param  {Object} data-ajax-list-page-parm-str           - Data to be sent to the server which is custom JSON fields.
									* @param  {Number} data-ajax-list-page-now                - The current page to load.
									* @param  {Number} data-ajax-list-page-per                - The amount to load each time.
									* @param  {Number} data-ajax-list-page-total              - The total page to load.
									* @param  {Object} data-ajax-list-trigger                 - Trigger ajax loaded button object.
									* @param  {String} data-ajax-list-trigger-active-class    - The class name of trigger button actived.
									* @param  {String} data-ajax-list-push-container-class    - This container is used to display the loaded dynamic data.
									* @param  {Boolean} data-ajax-list-infinitescroll         - Returns information of ajax asynchronous callback when the content is empty.
									* @param  {String} data-ajax-list-field-{str}             - Customize the fields to be transferred to the server.
								 -->
								<div class="uix-list-topic"
									 data-ajax-list-json="assets/json/content-posts.php" 
									 data-ajax-list-method="POST" 
									 data-ajax-list-render="html" 
									 data-ajax-list-temp-id="list-topic-ajax-template-1" 
									 data-ajax-list-page-parm-str='{"totalPage":"total","currentPage":"page","displayPerPage":"per"}' 
									 data-ajax-list-page-now="1" 
									 data-ajax-list-page-per="8" 
									 data-ajax-list-page-total="4"
									 data-ajax-list-trigger="[{'prev':'#ajax-loadmore-btn-prev'},{'next':'#ajax-loadmore-btn-next'}]" 
									 data-ajax-list-trigger-active-class=".wait" 
									 data-ajax-list-push-container-class=".uix-list-topic__items-ajax-container" 
									 data-ajax-list-infinitescroll="false"
									 data-ajax-list-none-info='{"none":"","error":""}'
									 data-ajax-list-field-name1="Custom String 1"
									 data-ajax-list-field-name2="Custom String 2">


										<div class="uix-list-topic__items-ajax-container">




											<!-- List Item -->
											<article class="uix-list-topic__item uix-list-topic__item--style-2">
												<div class="row">
													<div class="col-lg-4 col-md-4 uix-list-topic__item__img uix-trans">
														<a href="#"> 
															<img src="assets/images/demo/test-img-big-1.jpg" alt="" />
														</a>
													</div><!-- /.col-lg-4.col-md-4  -->


													<div class="col-lg-8 col-md-8">

														<div class="uix-list-topic__item__info uix-trans">


															<div class="uix-core-grid__col-5 uix-core-grid__mobile-half">

																<h3>
																	 <a href="#">
																		 Project Title Here
																	 </a>
																</h3>
															</div>


															<div class="uix-core-grid__col-7 uix-core-grid__mobile-half">

																<div class="uix-core-grid__col-5 uix-core-grid__mobile-stack">
																	<p><strong>Author:</strong> David</p>
																	<p><strong>Date:</strong> December 10, 2017</p>
																</div>


																<div class="uix-core-grid__col-7 uix-core-grid__mobile-stack">
																	<p><strong>Comments:</strong> 20</p>
																	<p><strong>Categories:</strong> Art, Design</p>
																</div>	

															</div>	

														</div><!-- /.uix-list-topic__item__info -->


														<div class="uix-clearfix"></div>


														<div class="uix-list-topic__item__addition uix-list uix-list--normal uix-table uix-table--bordered">

																<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>


															 <div class="uix-tags-box">
																 <a href="#">Tag</a>
																 <a href="#">Video</a>
																 <a href="#">Web Design</a>
															 </div>

														</div>


													</div><!-- /.col-lg-8.col-md-8  -->


												</div>
												<!-- .row  end -->



											</article>
											<!-- List Item  end --> 



											<!-- List Item -->
											<article class="uix-list-topic__item uix-list-topic__item--style-2">
												<div class="row">
													<div class="col-lg-4 col-md-4 uix-list-topic__item__img uix-trans">
														<a href="#"> 
															<img src="assets/images/demo/test-img-big-2.jpg" alt="" />
														</a>
													</div><!-- /.col-lg-4.col-md-4  -->


													<div class="col-lg-8 col-md-8">

														<div class="uix-list-topic__item__info uix-trans">


															<div class="uix-core-grid__col-5 uix-core-grid__mobile-half">

																<h3>
																	 <a href="#">
																		 Project Title Here - The Long Title Here. The Long Title Here.  The Long Title Here. The Long Title Here. The Long Title Here.
																	 </a>
																</h3>
															</div>


															<div class="uix-core-grid__col-7 uix-core-grid__mobile-half">

																<div class="uix-core-grid__col-5 uix-core-grid__mobile-stack">
																	<p><strong>Author:</strong> David</p>
																	<p><strong>Date:</strong> December 10, 2017</p>
																</div>


																<div class="uix-core-grid__col-7 uix-core-grid__mobile-stack">
																	<p><strong>Comments:</strong> 20</p>
																	<p><strong>Categories:</strong> Art, Design</p>
																</div>	

															</div>	

														</div><!-- /.uix-list-topic__item__info -->


														<div class="uix-clearfix"></div>


														<div class="uix-list-topic__item__addition uix-list uix-list--normal uix-table uix-table--bordered">

																<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>


															 <div class="uix-tags-box">
																 <a href="#">Tag</a>
																 <a href="#">Video</a>
																 <a href="#">Web Design</a>
															 </div>

														</div>


													</div><!-- /.col-lg-8.col-md-8  -->


												</div>
												<!-- .row  end -->



											</article>
											<!-- List Item  end --> 





											<!-- List Item -->
											<article class="uix-list-topic__item uix-list-topic__item--style-2">
												<div class="row">
													<div class="col-lg-4 col-md-4 uix-list-topic__item__img uix-trans">
														<a href="#"> 
															<img src="assets/images/demo/test-img-big-3.jpg" alt="" />
														</a>
													</div><!-- /.col-lg-4.col-md-4  -->


													<div class="col-lg-8 col-md-8">

														<div class="uix-list-topic__item__info uix-trans">


															<div class="uix-core-grid__col-5 uix-core-grid__mobile-half">

																<h3>
																	 <a href="#">
																		 Project Title Here
																	 </a>
																</h3>
															</div>


															<div class="uix-core-grid__col-7 uix-core-grid__mobile-half">

																<div class="uix-core-grid__col-5 uix-core-grid__mobile-stack">
																	<p><strong>Author:</strong> David</p>
																	<p><strong>Date:</strong> December 10, 2017</p>
																</div>


																<div class="uix-core-grid__col-7 uix-core-grid__mobile-stack">
																	<p><strong>Comments:</strong> 20</p>
																	<p><strong>Categories:</strong> Art, Design</p>
																</div>	

															</div>	

														</div><!-- /.uix-list-topic__item__info -->


														<div class="uix-clearfix"></div>


														<div class="uix-list-topic__item__addition uix-list uix-list--normal uix-table uix-table--bordered">

																<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Morbi leo risus, porta ac consectetur ac.</p>

															 <p>People think focus means saying yes to the thing you&#8217;ve got to focus on. But that&#8217;s not what it means at all. It means saying no to the hundred other good ideas that there are. You have to pick carefully. I&#8217;m actually as proud of the things we haven&#8217;t done as the things I have done. Innovation is saying no to 1,000 things. <cite>Steve Jobs &#8211; Apple Worldwide Developers&#8217; Conference, 1997</cite></p>
															<p>Nullam id dolor id nibh ultricies vehicula ut id elit. Curabitur blandit tempus porttitor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Donec id elit non mi porta gravida at eget metus. Vestibulum id ligula porta felis euismod semper.</p>
															<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Morbi leo risus, porta ac consectetur ac.</p>


															 <div class="uix-tags-box">
																 <a href="#">Tag</a>
																 <a href="#">Video</a>
																 <a href="#">Web Design</a>
															 </div>

														</div>


													</div><!-- /.col-lg-8.col-md-8  -->


												</div>
												<!-- .row  end -->



											</article>
											<!-- List Item  end --> 




										</div>
										<!-- /.uix-list-topic__items-ajax-container -->
										<script id="list-topic-ajax-template-1" type="text/template7">

											{{#each items}}


												<!-- List Item -->
												<article class="uix-list-topic__item uix-list-topic__item--style-2 {{js "@index % 2 === 0 ? 'even' : 'odd'"}}">
													<div class="row">
														<div class="col-lg-4 col-md-4 uix-list-topic__item__img uix-trans {{js "this.img === '' ? 'none' : ''"}}">
															<a href="{{link}}"> 
																<img src="{{img}}" alt="" />
															</a>
														</div><!-- /.col-lg-4.col-md-4  -->


														<div class="col-lg-8 col-md-8">

															<div class="uix-list-topic__item__info uix-trans">


																<div class="uix-core-grid__col-5 uix-core-grid__mobile-half">

																	<h3>
																		 <a href="{{link}}">
																			 {{title}}
																		 </a>
																	</h3>
																</div>


																<div class="uix-core-grid__col-7 uix-core-grid__mobile-half">

																	<div class="uix-core-grid__col-5 uix-core-grid__mobile-stack">
																		<p><strong>Author:</strong> {{author}}</p>
																		<p><strong>Date:</strong> {{time}}</p>
																	</div>


																	<div class="uix-core-grid__col-7 uix-core-grid__mobile-stack">
																		<p><strong>Comments:</strong> {{comments}}</p>
																		<p><strong>Categories:</strong> {{cat}}</p>
																	</div>	

																</div>	

															</div><!-- /.uix-list-topic__item__info -->


															<div class="uix-clearfix"></div>


															<div class="uix-list-topic__item__addition uix-list uix-list--normal uix-table uix-table--bordered">

																	<p>{{detail}}</p>

																 <div class="uix-tags-box">
																	 {{tags}}
																 </div>

															</div>


														</div><!-- /.col-lg-8.col-md-8  -->


													</div>
													<!-- .row  end -->



												</article>
												<!-- List Item  end --> 



											{{/each}}

										</script>  






								</div><!-- /.uix-list-topic -->


							</div>
							<!-- .col-12 end -->
						</div>
						<!-- .row end -->



						<p class="uix-t-c">
							<a id="ajax-loadmore-btn-prev" href="javascript:void(0)" class="uix-btn uix-btn__border--thin uix-btn__size--s uix-btn__bg--primary is-pill">Previous</a>
							<a id="ajax-loadmore-btn-next" href="javascript:void(0)" class="uix-btn uix-btn__border--thin uix-btn__size--s uix-btn__bg--primary is-pill">Next</a>
						</p>

				</div>
				<!-- .container end -->




			</div>



			
		</main>
		
     
			
        
        
        
        
        @@include('./src/components/_global/include-copyright.html')
        
        
    </div>
    <!-- .uix-wrapper end -->
       
       
    @@include('./src/components/_global/include-footer.html')

